//
//  HUD.h
//  beautyAccompany
//
//  Created by xiaocankeji on 15/11/3.
//  Copyright © 2015年 xiaocankeji. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "MBProgressHUD.h"

typedef void(^CancelBlock)(void);
typedef void(^ConfirmBlock)(void);
@interface HUD : UIView

{
    UIToolbar*toolbar;
     UIView*View_screen;
}
@property (nonatomic, copy) CancelBlock Cancel;
@property (nonatomic, copy) ConfirmBlock Confirm;
@property (nonatomic, strong) CAShapeLayer *backgroundLayer;
@property (nonatomic, assign) CGFloat lineWidth;
-(UIView *)HUDImage :(UIImage *)image Title:(NSString *)title Content:(NSString *)content CANCEL:(NSString *)Cancel Confirm:(NSString *)confirm;

+ (MBProgressHUD *)setOnViewWithTitle:(NSString *)title animated:(BOOL)animated;
+ (BOOL)hideFromViewAnimated:(BOOL)animated;
- (void)start;

- (void)stop;


//提示框
+(void)Prompt:(NSString *)prompt;
@end
